/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service;

import entity.Product;
import entity.SaleOrder;
import entity.SaleOrderDetail;
import java.math.BigDecimal;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author SONY
 */
@Local
public interface SaleOrderDetailServiceLocal {
    
    List<SaleOrderDetail> getAllSaleOrderDetails_bySaleOrderID(int saleorderid);
    
    boolean addSaleOrderDetail(SaleOrder SaleOrderID, String ProductID, int OrderQty, BigDecimal LineTotal);
    
    Product exist_Product(String pid);
    
}
